﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
    public partial    class Mon:DtoClass
    {
        public Mon()
        { _tableName = "Mon";
        _keyField = "Ma" + _tableName;
        }
        public Mon(Int16 maMon,string tenMon)
        {
            _tableName = "Mon";
            _keyField = "Ma" + _tableName;
            this.MaMon = maMon;
            this.TenMon = tenMon;
        }
        private Int16 _maMon = 0;

        public Int16 MaMon
        {
            get { return _maMon; }
            set { _maMon = value; }
        }
        private string _tenMon = "";

        public string TenMon
        {
            get { return _tenMon; }
            set { _tenMon = value; }
        }
    }
}
